package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.pojo.HomeRecommendProduct;
import com.itheima.mall.pojo.HomeRecommendSubject;
import com.itheima.mall.vo.PageResult;

import java.util.List;

public interface SmsHomeRecommendSubjectService extends IService<HomeRecommendSubject> {
    void createSubject(List<HomeRecommendSubject> homeRecommendSubjectList);

    void deleteSubject(List<Long> ids);

    PageResult listSubject(Integer pageNum, Integer pageSize, Integer recommendStatus, String subjectName);

    void updateStatus(List<Long> ids, Integer recommendStatus);

    void updateSort(Long id, Integer sort);
}
